﻿<Grid xmlns="http://schemas.microsoft.com/client/2007" 
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:Controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Width="350" Height="250" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data">
    <Grid.RowDefinitions>
        <RowDefinition Height="0.1*" />
        <RowDefinition Height="0.1*"/>
        <RowDefinition Height="0.3*"/>
        <RowDefinition Height="0.1*"/>
        <RowDefinition Height="0.1*" />
        <RowDefinition Height="0.1*"/>
        <RowDefinition Height="0.1*"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="0.398*" />
        <ColumnDefinition Width="0.257*" />
        <ColumnDefinition Width="0.345*" />
    </Grid.ColumnDefinitions>
    <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.RowSpan="5">
        <TextBlock HorizontalAlignment="Left" 
               TextWrapping="Wrap" FontSize="14" Text="ListBox:" />
        <ListBox x:Name="GenericListBox">
            <TextBlock Text="List Item 1" />
            <TextBlock Text="List Item 2" />
            <TextBlock Text="List Item 3" />
            <TextBlock Text="List Item 4" />
            <TextBlock Text="List Item 5" />
        </ListBox>
    </StackPanel>
    <TextBlock HorizontalAlignment="Right" 
             Grid.Column="1" TextWrapping="Wrap" 
             FontSize="14" Text="TextBox:" d:LayoutOverrides="Height" VerticalAlignment="Top" />
    <TextBlock TextWrapping="Wrap" 
             HorizontalAlignment="Right" 
             Grid.Column="1" FontSize="14" Text="CheckBox:" Grid.Row="1" d:LayoutOverrides="Height" VerticalAlignment="Top" />
    <TextBlock VerticalAlignment="Top" TextWrapping="Wrap" 
             HorizontalAlignment="Right" 
             Grid.Column="1" FontSize="14" Text="Radio Buttons:" Grid.Row="2" />
    <TextBlock VerticalAlignment="Top" TextWrapping="Wrap" 
             HorizontalAlignment="Right" 
             Grid.Column="1" FontSize="14" Text="Slider:" Grid.Row="3" />
    <TextBlock HorizontalAlignment="Right" 
             VerticalAlignment="Top" Grid.Column="1" 
             Text="Date Picker:" TextWrapping="Wrap" Grid.Row="4" />
    <TextBlock HorizontalAlignment="Right" 
             VerticalAlignment="Top" Grid.Column="1" 
             Text="PasswordBox:" TextWrapping="Wrap" Grid.Row="5" />
    <TextBlock HorizontalAlignment="Right" 
             VerticalAlignment="Top" Grid.Column="1" 
             Text="ComboBox:" TextWrapping="Wrap" Grid.Row="6" />
    <TextBox x:Name="GenericTextBox" Text="" 
           Grid.Column="2" d:LayoutOverrides="Height" />
    <CheckBox x:Name="GenericCheckBox" IsChecked="" IsThreeState="False" 
            HorizontalAlignment="Stretch" 
            Grid.Column="2" Content="CheckBox" FontSize="14" Grid.Row="1" d:LayoutOverrides="Height" />
    <StackPanel Grid.Column="2" Grid.Row="2" HorizontalAlignment="Stretch" VerticalAlignment="Top"
                Orientation="Vertical">
        <RadioButton x:Name="RadioButton1" IsChecked="" Height="Auto" 
               HorizontalAlignment="Stretch" Content="RadioButton 1" FontSize="14" />
        <RadioButton x:Name="RadioButton2" IsChecked="" Height="Auto" 
               HorizontalAlignment="Stretch" Content="RadioButton 2" FontSize="14" />
        <RadioButton x:Name="RadioButton3" IsChecked="" Height="Auto" 
               HorizontalAlignment="Stretch" Content="RadioButton 3" FontSize="14" />
    </StackPanel>
    <Slider x:Name="GenericSlider" Value="5" Height="37.04" 
          HorizontalAlignment="Stretch" 
          VerticalAlignment="Top" Grid.Column="2" Grid.Row="3" Maximum="10" d:LayoutOverrides="VerticalAlignment" />
    <Controls:DatePicker x:Name="GenericDatePicker" Grid.Column="2" Height="24" VerticalAlignment="Top" Grid.Row="4" />
    <PasswordBox Grid.Column="2" Grid.Row="5" Password="password"/>
    <ComboBox Grid.Column="2" Grid.Row="6">
        <TextBlock Text="Item 1"/>
        <TextBlock Text="Item 2"/>
        <TextBlock Text="Item 3"/>
        <TextBlock Text="Item 4"/>
        <TextBlock Text="Item 5"/>
    </ComboBox>
    <Controls:GridSplitter HorizontalAlignment="Left" Margin="0,0,0,0" 
                VerticalAlignment="Stretch" Width="8.28" 
                Grid.Column="1" Grid.RowSpan="7" ShowsPreview="True" />
</Grid>
